const APIV1 = '/api'
const APIV2 = '/api/v2'

module.exports = {
  name: 'ArrisUltra',
  prefix: 'antdAdmin',
  footerText: '@2017',
  logo: '/logo.png',
  iconFontCSS: '/iconfont.css',
  iconFontJS: '/iconfont.js',
  YQL: ['http://www.zuimeitianqi.com'],
  CORS: [],
  openPages: ['/login'],
  apiPrefix: '/api',
  api: {
    userLogin: `${APIV1}/user/login`,
    userLogout: `${APIV1}/user/logout`,
    userInfo: `${APIV1}/userInfo`,
    users: `${APIV1}/users`,
    posts: `${APIV1}/posts`,
    user: `${APIV1}/user/:id`,
    dashboard: `${APIV1}/dashboard`,
    // menus: `${APIV1}/menus`,
    v1test: `${APIV1}/test`,
    v2test: `${APIV2}/test`,
    products:`${APIV1}/product/index/`,
    product:`${APIV1}/product`,
    modules:`${APIV1}/module/index/`,
    module:`${APIV1}/module`,
    testHosts:`${APIV1}/testHost/index/`,
    testHost:`${APIV1}/testHost`,
    suts:`${APIV1}/sut/index/`,
    sut:`${APIV1}/sut`,
    testSuites:`${APIV1}/testSuite/index/`,
    testSuite:`${APIV1}/testSuite`,
    testPlans:`${APIV1}/testPlan/index/`,
    testPlan:`${APIV1}/testPlan`,
    testResult:`${APIV1}/testResult/`,
    releaselist:`${APIV1}/release/index/`,
    execute:`${APIV1}/testPlan/execute/`,
    executeResult:`${APIV1}/testPlan/getResult/`,
    specificResult:`${APIV1}/getSpecificResult/`,
  },
}
